<template>
	<view class="page">
		<view style="width: 100%;">
			<view style="width: 70px;margin-left: 3px;"> <u-button type="primary" text="入库"></u-button></view>
		</view>
		<view class="head">
			<view>

			</view>
			<view class="input-box">
				<view>当前分类:</view>
				<view style="width: 100px;" @click="showTaskPicker=true"><u--input
						:customStyle="{border:'1px solid #3C9CFF' , marginLeft:'5px'}" disabled color="#3C9CFF"
						disabled-color="F1F1F1" placeholder="请输入内容" suffixIcon="arrow-down" v-model="searchText"
						border="surround"></u--input></view>
			</view>
			<view class="input-box">
				<view>当前仓库:</view>
				<view style="width: 100px;" @click="showTaskPicker=true"><u--input
						:customStyle="{border:'1px solid #3C9CFF' , marginLeft:'5px'}" disabled color="#3C9CFF"
						disabled-color="F1F1F1" placeholder="请输入内容" suffixIcon="arrow-down" v-model="currentWarehouse"
						border="surround"></u--input></view>
			</view>

		</view>
		<view style="width: calc(100vw - 50px);margin-top: 5px;" @click="showTaskPicker=true"><u--input
				:customStyle="{border:'1px solid #3C9CFF' , marginLeft:'5px'}" disabled color="#3C9CFF"
				disabled-color="F1F1F1" placeholder="请输入器材名称" border="surround"></u--input>
		</view>
		<view style="width: calc(100vw - 50px);">
			<view class="card-list">
					<view class="card-item">
						<view class="card-head">
							<view class="card-title">器材名称</view>
						</view>
						<view >
							<image style="height: 80px;" src="../../static/images/temp/R-C.jpg"></image>
						</view>
					
						<view>
							剩余数量
						</view>
					</view><view class="card-item">
						<view class="card-head">
							<view class="card-title">器材名称</view>
						</view>
						<view>
							器材图片
						</view>

						<view>
							剩余数量
						</view>
					</view>
			<view class="card-item">
				<view class="card-head">
					<view class="card-title">器材名称</view>
				</view>
				<view>
					器材图片
				</view>
		
				<view>
					剩余数量
				</view>
			</view>

			</view>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				searchText: '所有',
				currentWarehouse: '仓库一'
			}
		}
	}
</script>

<style scoped lang="scss">
	.input-box {
		display: flex;
		align-items: center;
		justify-content: space-between;

	}

	.page {
		width: 100vw;
		height: 100vh;
		background-color: #F1F1F1;
		display: flex;
		flex-direction: column;
		align-items: center;

		.card-list {

			width: 100%;
			display: flex;
			flex-wrap: wrap;
					justify-content: space-between;
			.card-item {
				margin-top: 10px;
				width: 48%;
				background-color: white;
				padding: 10px 8px;

				.card-head {

					display: flex;
					align-items: center;

					.card-title {
						font-size: 20px;
						font-weight: 900;
					}

					.task-status {
						padding: 5px 3px;
						color: #3C9CFF;
						border: 1px solid #3C9CFF;
					}
				}

				.card-content {
					display: flex;
					justify-content: space-between;
					padding: 3px 0 3px 5px;
				}

				.tool-box {
					display: flex;
					padding-top: 10px;
					padding-bottom: 10px;
				}
			}
		}

		.head {
			display: flex;
			width: calc(100vw - 50px);
			justify-content: space-between;
		}
	}
</style>